<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link type="text/css" rel="stylesheet" href="__PUBLIC__/dpa/css/jquery-weui.css"/>
    <link type="text/css" rel="stylesheet" href="__PUBLIC__/dpa/css/weui.css"/>
    <link type="text/css" rel="stylesheet" href="__PUBLIC__/dpa/css/search.css"/>
    <link rel="stylesheet" href="__PUBLIC__/dpa/css/page.css" />
    <script type="text/javascript" src="__PUBLIC__/dpa/js/jquery-2.1.4.js"></script>
    <script type="text/javascript" src="__PUBLIC__/dpa/js/jquery-weui.js"></script>
    <title>委托浏览</title>
</head>
<script>
    document.addEventListener('WeixinJSBridgeReady',
            function onBridgeReady(){
                WeixinJSBridge.call('hideOptionMenu');
            });
</script>
<body>
    <div class="weui_search_bar" id="search_bar">
        <form class="weui_search_outer" action="__CONTROLLER__/seach" method="post">
            <div class="weui_search_inner">
                <i class="weui_icon_search"></i>
                <input type="search" class="weui_search_input" name="dpasum" id="search_input" placeholder="DPA报告号搜索" required/>
                <a href="javascript:" class="weui_icon_clear" id="search_clear"></a>
            </div>
            <label for="search_input" class="weui_search_text" id="search_text">
                <i class="weui_icon_search"></i>
                <span>DPA报告号搜索</span>
            </label>
        </form>
        <a href="javascript:" class="weui_search_cancel" id="search_cancel">取消</a>
    </div>
    <foreach name="list" item="v" key="key">
    <div class="weui_cells out-width">
        <div class="weui_cell">
            <div class="weui_cell_bd weui_cell_primary left-text">
                <p>序号</p>
            </div>
            <div class="weui_cell_ft right-text">{$key+1}</div>
        </div>
        <div class="weui_cell">
            <div class="weui_cell_bd weui_cell_primary left-text">
                <p>DPA报告号</p>
            </div>
            <div class="weui_cell_ft right-text">
                <a href="{:U('Home/Wx/seach',array('dpasum'=>$v[dpasum]))}">{$v.dpasum}</a>
            </div>
        </div>
        <div class="weui_cell">
            <div class="weui_cell_bd weui_cell_primary left-text">
                <p>型号规格</p>
            </div>
            <div class="weui_cell_ft right-text">{$v.type}</div>
        </div>
        <div class="weui_cell">
            <div class="weui_cell_bd weui_cell_primary left-text">
                <p>规范号</p>
            </div>
            <div class="weui_cell_ft right-text">{$v.norm}</div>
        </div>
        <div class="weui_cell">
            <div class="weui_cell_bd weui_cell_primary left-text">
                <p>批次号</p>
            </div>
            <div class="weui_cell_ft right-text">{$v.batch}</div>
        </div>
        <div class="weui_cell">
            <div class="weui_cell_bd weui_cell_primary left-text">
                <p>委托人</p>
            </div>
            <div class="weui_cell_ft right-text">{$v.client}</div>
        </div>
        <div class="weui_cell">
            <div class="weui_cell_bd weui_cell_primary left-text">
                <p>委托时间</p>
            </div>
            <div class="weui_cell_ft right-text">{$v.wtsj|date='Y-m-d',###}</div>
        </div>
    </div>
    </foreach>
    <div style="margin-top:20px;font-size:14px;" class="green-black">{$page}</div>
    <div class="fix-bottom">
        <button id="verify" onclick="abc()" class="weui_btn weui_btn_primary fix-bottom" >返回</button>
    </div>
</body>
<script>
    function abc(){
        WeixinJSBridge.call('closeWindow');
    }
</script>
</html>